//{{AFX_INCLUDES()
#include "vsflexgrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_DLGPROJSETTINGSHOOK_H__6B0518C0_79C5_4D90_80C9_959974660A39__INCLUDED_)
#define AFX_DLGPROJSETTINGSHOOK_H__6B0518C0_79C5_4D90_80C9_959974660A39__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgProjSettingsHook.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDlgProjSettingsHook dialog

class CDlgProjSettingsHook : public CDialog
{
public:
	CString m_strOldVal ;
	BOOL	m_bCancelSel;
 	CWzdToolTipCtrl m_tip ;
 	BOOL	Read();
 	void	Clear();
	BOOL	ReadProjSettings();
	BOOL	ReadDefaultSettings();
	BOOL	UpdateRecord(int nRow,int nCol);
	void	Cancel(CANCEL_INFO* pNode);
	void	Redo(CANCEL_INFO* pNode);
	void	InitCancelInfo(CANCEL_INFO* pNode,int nOpType,LPCTSTR szHint,char* szOldItem,char* szNewItem);
public:
	CDlgProjSettingsHook(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDlgProjSettingsHook)
	enum { IDD = IDD_Dlg_Proj_Settings_Hook };
	CVSFlexGrid	m_Vs;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgProjSettingsHook)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL PreTranslateMessage(MSG* pMsg) ;
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgProjSettingsHook)
	afx_msg void OnClickVs();
	afx_msg void BeforeEditVs(long Row, long Col, BOOL FAR* Cancel);
	afx_msg void OnBeforeSelChangeVs(long OldRowSel, long OldColSel, long NewRowSel, long NewColSel, BOOL FAR* Cancel);
	afx_msg void OnCellChangedVs(long Row, long Col);
	virtual BOOL OnInitDialog();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnBnClickedButtonResume();
	afx_msg void OnBnClickedButtonImport();
	afx_msg void OnBnClickedButtonExport();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedCheckCalc();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGPROJSETTINGSHOOK_H__6B0518C0_79C5_4D90_80C9_959974660A39__INCLUDED_)
